import { createApp } from 'vue';
import { Modal } from './Modal/index.js';

export default {
    install(app){
    const modal = createApp(Modal); 
    const oFrag = document.createDocumentFragment();
    
    const $modal = modal.mount(oFrag);

    app.config.globalProperties.$modal = $modal;
    
    }
}